package mytool;
/*
 * 不能处理多音字
 */
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import java.util.Scanner;
import java.util.Set;

public class Hanzi2Pinyin {
	public static void main(String[] args) throws IOException {
		InputStream in = Pinyin.class
				.getResourceAsStream("/mytool/duizhaobiao.properties");
		Properties props = new Properties();
		props.load(in);
		Scanner sc = new Scanner(System.in);
		String input = sc.nextLine();
		Set keys=props.keySet();
		for (Object o : keys) {
			String s = props.getProperty((String)o);
			if(s.contains(input)){
				System.out.println(s);
				System.out.println(o);
				break;
			}
		}
	}
}
